package com.denimgroup.threadfix.service;

import java.util.List;

import com.denimgroup.threadfix.data.entities.VulnerabilityComment;

public interface VulnerabilityCommentService {
	
	String VALID = "Valid Comment.", LENGTH = "The comment was too long.",
			EMPTY = "The comment can not be empty.", VULN = "The submitted vuln was invalid.",
			USER = "The session's user was invalid. Please let the ThreadFix team know about this.";

	List<VulnerabilityComment> loadAllForVuln(Integer vulnerabilityId);
	
	String addCommentToVuln(String comment, Integer vulnerabilityId);
	
}
